home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 1.iso / ARGONET / PD / PROGRAMMING / DESKLIBC / SOURCES.ZIP / DeskLib / !DLSources / Libraries / Str / DLL / MkOs
Text File  |  1995-09-04  |  3KB  |  121 lines

  1.  
  2. ObjectFiles    =        \
  3.             o.DecodeHex    \
  4.             o.LeafName    \
  5.             o.MakeASCIIZ    \
  6.             o.MakeCR    \
  7.             o.MakeHex    \
  8.             o.strcmpcr    \
  9.             o.strdup    \
  10.             o.stricmp    \
  11.             o.stricmpcr    \
  12.             o.strlencr    \
  13.             o.strncpycr    \
  14.             o.strnicmp    \
  15.             o.strnicmpcr    \
  16.             o.strcatcr    \
  17.             o.strcpycr    \
  18.  
  19.  
  20. LibName        =    Str
  21.  
  22.  
  23.  
  24. # Template makefile to make all .o files
  25. # for a DeskLib sublibrary. Compilation 
  26. # is for static linking inside a DLL.
  27.  
  28. # The macro $(ObjectFiles) should be set at the 
  29. # start of this file, to be a space-separated
  30. # list of object files.
  31. # This is done by 'Makatic'.
  32.  
  33. # The macro $(LibName) should also be set at the 
  34. # start of this file, to be the name of the 
  35. # DeskLib sublibrary.
  36.  
  37. # Compiler flags, These can be anything. 
  38. # All essential flags (eg CC -zM
  39. # are included in the macro $(CC).
  40. #
  41. CCFlags        =    -fahi $(CCExtra) -depend !Depend -throwback -D_DeskLib_$(LibName) -I,C:
  42. ASMFlags    =    -Stamp -NoCache -CloseExec -Quit $(ASMExtra)
  43.  
  44. CC        =    cc -c -zM -d_DLL -JC:DLLLib.,:mem $(CCFlags)
  45. ASM        =    ObjAsm $(ASMFlags)
  46.  
  47.  
  48. # -------------------------------------------------------
  49. # Everything below here should probably not be changed...
  50. # -------------------------------------------------------
  51.  
  52. # Here's what we want to make...
  53. #
  54. All:    $(ObjectFiles)
  55.  
  56.  
  57. # Rule for compiling C source code for a Straylight dynamically-linked library.
  58.  
  59. VPATH = @.^
  60.  
  61. .SUFFIXES:    .o .c .s
  62.  
  63. .c.o:
  64.     $(CC) -o $@ $<
  65.  
  66. .s.o:
  67.     $(ASM) $(ASMFlags) -from $< -to $@
  68.  
  69.  
  70.  
  71. # Dynamic dependencies:
  72. o.DecodeHex:    ^.c.DecodeHex
  73. o.DecodeHex:    C:h.ctype
  74. o.DecodeHex:    DeskLib:h.Str
  75. o.DecodeHex:    C:h.stddef
  76. o.LeafName:    ^.c.LeafName
  77. o.LeafName:    DeskLib:h.Str
  78. o.LeafName:    C:h.stddef
  79. o.MakeASCIIZ:    ^.c.MakeASCIIZ
  80. o.MakeASCIIZ:    DeskLib:h.Str
  81. o.MakeASCIIZ:    C:h.stddef
  82. o.MakeCR:    ^.c.MakeCR
  83. o.MakeCR:    DeskLib:h.Str
  84. o.MakeCR:    C:h.stddef
  85. o.MakeHex:    ^.c.MakeHex
  86. o.MakeHex:    DeskLib:h.Str
  87. o.MakeHex:    C:h.stddef
  88. o.strcmpcr:    ^.c.strcmpcr
  89. o.strcmpcr:    DeskLib:h.Str
  90. o.strcmpcr:    C:h.stddef
  91. o.strdup:    ^.c.strdup
  92. o.strdup:    C:h.string
  93. o.strdup:    C:h.stdlib
  94. o.strdup:    DeskLib:h.Str
  95. o.strdup:    C:h.stddef
  96. o.stricmp:    ^.c.stricmp
  97. o.stricmp:    C:h.ctype
  98. o.stricmp:    DeskLib:h.Str
  99. o.stricmp:    C:h.stddef
  100. o.stricmpcr:    ^.c.stricmpcr
  101. o.stricmpcr:    C:h.ctype
  102. o.stricmpcr:    DeskLib:h.Str
  103. o.stricmpcr:    C:h.stddef
  104. o.strlencr:    ^.c.strlencr
  105. o.strlencr:    DeskLib:h.Str
  106. o.strlencr:    C:h.stddef
  107. o.strncpycr:    ^.c.strncpycr
  108. o.strncpycr:    DeskLib:h.StringCR
  109. o.strncpycr:    DeskLib:h.Str
  110. o.strncpycr:    C:h.stddef
  111. o.strnicmp:    ^.c.strnicmp
  112. o.strnicmp:    C:h.ctype
  113. o.strnicmp:    DeskLib:h.Str
  114. o.strnicmp:    C:h.stddef
  115. o.strnicmpcr:    ^.c.strnicmpcr
  116. o.strnicmpcr:    C:h.stdlib
  117. o.strnicmpcr:    C:h.ctype
  118. o.strnicmpcr:    DeskLib:h.Str
  119. o.strnicmpcr:    C:h.stddef
  120.